package com.doubao.notepad_blog_backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.doubao.notepad_blog_backend.domain.BmsComment;
import com.doubao.notepad_blog_backend.domain.UmsUser;
import com.doubao.notepad_blog_backend.dto.CommentDTO;
import com.doubao.notepad_blog_backend.vo.CommentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BmsCommentService extends IService<BmsComment> {
    List<CommentVO> getCommentsByPostID(String postid);

    BmsComment addComment(CommentDTO dto, UmsUser umsUser);
}
